import 'react-native-gesture-handler';
import React from 'react';
import { registerRootComponent } from 'expo';
import { SafeAreaProvider } from 'react-native-safe-area-context';
import { AppProvider } from './src/client/state/AppContext';
import { MainScreen } from './src/client/screens/MainScreen';

const App: React.FC = () => {
    return (
        <SafeAreaProvider>
            <AppProvider>
                <MainScreen />
            </AppProvider>
        </SafeAreaProvider>
    );
};

export default registerRootComponent(App); 